package net.osweb.crm.modules.sales.bean;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Proof entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "sales_proof")
public class Proof implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -149218795800391869L;
	private Integer id;
	private Integer userid;
	private String proofnumber;
	private String emergency;
	private String labelProof;
	private Integer status;
	private Timestamp createtime;
	private String stylenumber;
	private String stylename;
	private String material;
	private String inprice;
	private String outprice;
	private String poroductname;
	private Integer isfinish;
	private Integer isdelete;
	private Integer isrepeat;
	private Integer isblank;
	private String unfinishreason;
	private String customerName;
	private String factoryName;
	private Integer customerId;
	private Integer factoryId;
	private String expressCpname;
	private String sizeUnit;
	private Timestamp startdate;
	private Timestamp enddate;
	private String sampletype;
	private Integer counts;
	private String prodcounts;
	private String arrivearea;
	private Integer isAudit;
	private String remark;
	private Integer productpicid;
	private Integer isavailability;
	private Timestamp userviewtime;
	private String comment;

	// Constructors

	/** default constructor */
	public Proof() {
	}

	/** full constructor */
	public Proof(Integer userid, String proofnumber, String emergency,
			String labelProof, Integer status, Timestamp createtime,
			String stylenumber, String stylename, String material,
			String inprice, String outprice, String poroductname,
			Integer isfinish, Integer isdelete, Integer isrepeat,
			Integer isblank, String unfinishreason, String customerName,
			String factoryName, Integer customerId, Integer factoryId,
			String expressCpname, String sizeUnit, Timestamp startdate,
			Timestamp enddate, String sampletype, Integer counts,
			String prodcounts, String arrivearea, Integer isAudit,
			String remark, Integer productpicid, Integer isavailability,
			Timestamp userviewtime, String comment) {
		this.userid = userid;
		this.proofnumber = proofnumber;
		this.emergency = emergency;
		this.labelProof = labelProof;
		this.status = status;
		this.createtime = createtime;
		this.stylenumber = stylenumber;
		this.stylename = stylename;
		this.material = material;
		this.inprice = inprice;
		this.outprice = outprice;
		this.poroductname = poroductname;
		this.isfinish = isfinish;
		this.isdelete = isdelete;
		this.isrepeat = isrepeat;
		this.isblank = isblank;
		this.unfinishreason = unfinishreason;
		this.customerName = customerName;
		this.factoryName = factoryName;
		this.customerId = customerId;
		this.factoryId = factoryId;
		this.expressCpname = expressCpname;
		this.sizeUnit = sizeUnit;
		this.startdate = startdate;
		this.enddate = enddate;
		this.sampletype = sampletype;
		this.counts = counts;
		this.prodcounts = prodcounts;
		this.arrivearea = arrivearea;
		this.isAudit = isAudit;
		this.remark = remark;
		this.productpicid = productpicid;
		this.isavailability = isavailability;
		this.userviewtime = userviewtime;
		this.comment = comment;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "userid")
	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	@Column(name = "proofnumber")
	public String getProofnumber() {
		return this.proofnumber;
	}

	public void setProofnumber(String proofnumber) {
		this.proofnumber = proofnumber;
	}

	@Column(name = "emergency")
	public String getEmergency() {
		return this.emergency;
	}

	public void setEmergency(String emergency) {
		this.emergency = emergency;
	}

	@Column(name = "labelProof")
	public String getLabelProof() {
		return this.labelProof;
	}

	public void setLabelProof(String labelProof) {
		this.labelProof = labelProof;
	}

	@Column(name = "status")
	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Column(name = "createtime", length = 19)
	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

	@Column(name = "stylenumber")
	public String getStylenumber() {
		return this.stylenumber;
	}

	public void setStylenumber(String stylenumber) {
		this.stylenumber = stylenumber;
	}

	@Column(name = "stylename")
	public String getStylename() {
		return this.stylename;
	}

	public void setStylename(String stylename) {
		this.stylename = stylename;
	}

	@Column(name = "material")
	public String getMaterial() {
		return this.material;
	}

	public void setMaterial(String material) {
		this.material = material;
	}

	@Column(name = "inprice", length = 12)
	public String getInprice() {
		return this.inprice;
	}

	public void setInprice(String inprice) {
		this.inprice = inprice;
	}

	@Column(name = "outprice", length = 12)
	public String getOutprice() {
		return this.outprice;
	}

	public void setOutprice(String outprice) {
		this.outprice = outprice;
	}

	@Column(name = "poroductname", length = 127)
	public String getPoroductname() {
		return this.poroductname;
	}

	public void setPoroductname(String poroductname) {
		this.poroductname = poroductname;
	}

	@Column(name = "isfinish")
	public Integer getIsfinish() {
		return this.isfinish;
	}

	public void setIsfinish(Integer isfinish) {
		this.isfinish = isfinish;
	}

	@Column(name = "isdelete")
	public Integer getIsdelete() {
		return this.isdelete;
	}

	public void setIsdelete(Integer isdelete) {
		this.isdelete = isdelete;
	}

	@Column(name = "isrepeat")
	public Integer getIsrepeat() {
		return this.isrepeat;
	}

	public void setIsrepeat(Integer isrepeat) {
		this.isrepeat = isrepeat;
	}

	@Column(name = "isblank")
	public Integer getIsblank() {
		return this.isblank;
	}

	public void setIsblank(Integer isblank) {
		this.isblank = isblank;
	}

	@Column(name = "unfinishreason")
	public String getUnfinishreason() {
		return this.unfinishreason;
	}

	public void setUnfinishreason(String unfinishreason) {
		this.unfinishreason = unfinishreason;
	}

	@Column(name = "customerName")
	public String getCustomerName() {
		return this.customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	@Column(name = "factoryName", length = 127)
	public String getFactoryName() {
		return this.factoryName;
	}

	public void setFactoryName(String factoryName) {
		this.factoryName = factoryName;
	}

	@Column(name = "customerID")
	public Integer getCustomerId() {
		return this.customerId;
	}

	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}

	@Column(name = "factoryID")
	public Integer getFactoryId() {
		return this.factoryId;
	}

	public void setFactoryId(Integer factoryId) {
		this.factoryId = factoryId;
	}

	@Column(name = "expressCPName", length = 127)
	public String getExpressCpname() {
		return this.expressCpname;
	}

	public void setExpressCpname(String expressCpname) {
		this.expressCpname = expressCpname;
	}

	@Column(name = "size_unit", length = 12)
	public String getSizeUnit() {
		return this.sizeUnit;
	}

	public void setSizeUnit(String sizeUnit) {
		this.sizeUnit = sizeUnit;
	}

	@Column(name = "startdate", length = 19)
	public Timestamp getStartdate() {
		return this.startdate;
	}

	public void setStartdate(Timestamp startdate) {
		this.startdate = startdate;
	}

	@Column(name = "enddate", length = 19)
	public Timestamp getEnddate() {
		return this.enddate;
	}

	public void setEnddate(Timestamp enddate) {
		this.enddate = enddate;
	}

	@Column(name = "sampletype", length = 127)
	public String getSampletype() {
		return this.sampletype;
	}

	public void setSampletype(String sampletype) {
		this.sampletype = sampletype;
	}

	@Column(name = "counts")
	public Integer getCounts() {
		return this.counts;
	}

	public void setCounts(Integer counts) {
		this.counts = counts;
	}

	@Column(name = "prodcounts", length = 127)
	public String getProdcounts() {
		return this.prodcounts;
	}

	public void setProdcounts(String prodcounts) {
		this.prodcounts = prodcounts;
	}

	@Column(name = "arrivearea", length = 127)
	public String getArrivearea() {
		return this.arrivearea;
	}

	public void setArrivearea(String arrivearea) {
		this.arrivearea = arrivearea;
	}

	@Column(name = "isAudit")
	public Integer getIsAudit() {
		return this.isAudit;
	}

	public void setIsAudit(Integer isAudit) {
		this.isAudit = isAudit;
	}

	@Column(name = "remark", length = 240)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "productpicid")
	public Integer getProductpicid() {
		return this.productpicid;
	}

	public void setProductpicid(Integer productpicid) {
		this.productpicid = productpicid;
	}

	@Column(name = "isavailability")
	public Integer getIsavailability() {
		return this.isavailability;
	}

	public void setIsavailability(Integer isavailability) {
		this.isavailability = isavailability;
	}

	@Column(name = "userviewtime", length = 19)
	public Timestamp getUserviewtime() {
		return this.userviewtime;
	}

	public void setUserviewtime(Timestamp userviewtime) {
		this.userviewtime = userviewtime;
	}

	@Column(name = "comment")
	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

}